/*
 *
 *  *
 *  *  * Copyright (c) Shanghai Xing Ye, Co. Ltd.
 *  *  * https://bg.work
 *  *  *
 *  *  *This program is free software: you can redistribute it and/or modify
 *  *  *it under the terms of the GNU Affero General Public License as published by
t *  *  *he Free Software Foundation, either version 3 of the License.

 *  *  *This program is distributed in the hope that it will be useful,
 *  *  *but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  *  *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  *  *GNU Affero General Public License for more details.

 *  *  *You should have received a copy of the GNU Affero General Public License
 *  *  *along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *  *
  *
  */

package work.bg.server.util

import io.kotlintest.shouldBe
import io.kotlintest.specs.StringSpec
import org.junit.Test
import java.util.*

class MD5Test : StringSpec({
    var mdHash=MD5.hash("123456")
    mdHash shouldBe "e10adc3949ba59abbe56e057f20f883e"
})

class MD5Test2{
    init {
        print("start test ${Date()}")
    }
    @Test
    fun doTest(){
        var mdHash=MD5.hash("123456")
        mdHash shouldBe "e10adc3949ba59abbe56e057f20f883e"
    }
}



